encoding/asn1.tagAndLength.length (field)
23 uses
encoding/asn1 (current package)
asn1.go#L557: ret.length = int(b & 0x7f)
asn1.go#L565: ret.length = 0
asn1.go#L573: if ret.length >= 1<<23 {
asn1.go#L579: ret.length <<= 8
asn1.go#L580: ret.length |= int(b)
asn1.go#L581: if ret.length == 0 {
asn1.go#L588: if ret.length < 0x80 {
asn1.go#L631: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L635: offset += t.length
asn1.go#L689: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L695: innerBytes := bytes[offset : offset+t.length]
asn1.go#L727: offset += t.length
asn1.go#L750: if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
asn1.go#L753: } else if t.length > 0 {
asn1.go#L843: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L847: innerBytes := bytes[offset : offset+t.length]
asn1.go#L848: offset += t.length
common.go#L52: class, tag, length int
marshal.go#L262: if t.length >= 128 {
marshal.go#L263: l := lengthLength(t.length)
marshal.go#L265: dst = appendLength(dst, t.length)
marshal.go#L267: dst = append(dst, byte(t.length))
marshal.go#L703: length: bodyLen + t.tag.Len(),